package com.self.educenter.service;

import com.self.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.self.educenter.entity.vo.RegisterVo;


/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author xiaozeng
 * @since 2020-10-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    //登录
    String login(UcenterMember member);

    //注册
    void register(RegisterVo registerVo);

    //通过openId查询数据库中是否有该用户信息
    UcenterMember getMemberByOpenId(String openid);

    //查询某一天的注册人数
    Integer countRegisterDay(String day);
}
